using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using WebControls;
using BusinessLayer;
using EntityLayer;
using InfraStructureLayer;

public partial class PersonalInstruction_Default : SFPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        
    }
    public override void LanguageLoad()
    {
        
        base.LanguageLoad();

        busPersonalInstruction insBusPersonalInstruction = new busPersonalInstruction();
        entPersonalInstruction insEntPersonalInstruction = new entPersonalInstruction();
        insEntPersonalInstruction.LanguageId = CurrentContext.LanguageId;
        insBusPersonalInstruction.SelectPersonalInstructionByLanguageId(insEntPersonalInstruction);
        if (insBusPersonalInstruction.HasErrors)
        {
            MessageBoxShow(insBusPersonalInstruction);
            return;
        }
        lblTitle.Text = insEntPersonalInstruction.PersonalInstructionTitle;
        lblBody.Text = insEntPersonalInstruction.PersonalInstructionBody;
    }
}
